<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
    xmlns:h="http://xmlns.jcp.org/jsf/html"
    xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">

    <ui:composition template="/WEB-INF/content/layout.xhtml">
        <ui:define name="title">${msg['menu.server.package']}</ui:define>
        <ui:define name="content">

<input id="package-input" data-type="search" placeholder="${msg['filter']}" />
<table border="1" style="white-space: nowrap;" data-role="table" data-mode="columntoggle" data-filter="true" data-input="#package-input">
<thead>
<tr>
    <th>${msg['menu.server.package']}</th>
    <th data-priority="1">${msg['server.package.specification.title']}</th>
    <th data-priority="1">${msg['server.package.specification.vendor']}</th>
    <th data-priority="1">${msg['server.package.specification.version']}</th>
    <th data-priority="1">${msg['server.package.implementation.title']}</th>
    <th data-priority="1">${msg['server.package.implementation.vendor']}</th>
    <th data-priority="1">${msg['server.package.implementation.version']}</th>
</tr>
</thead>
<tbody>
<c:forEach items="${bean.packages}" var="p">
<tr>
<td>${p.name}</td>
<td>${p.specificationTitle}</td>
<td>${p.specificationVendor}</td>
<td>${p.specificationVersion}</td>
<td>${p.implementationTitle}</td>
<td>${p.implementationVendor}</td>
<td>${p.implementationVersion}</td>
</tr>
</c:forEach>
</tbody>
</table>

        </ui:define>
    </ui:composition>

</html>
